golang.org/x/tools/go/packages.loaderPackage.goVersion (field)

4 uses

	golang.org/x/tools/go/packages (current package)
		packages.go#L545: 	goVersion    int   // minor version number of go command on PATH
		packages.go#L663: 			goVersion: response.GoVersion,
		packages.go#L964: 	if _, err := fmt.Sscanf(runtime.Version(), "go1.%d", &runtimeVersion); err == nil && runtimeVersion < lpkg.goVersion {
		packages.go#L969: 					Msg:  fmt.Sprintf("This application uses version go1.%d of the source-processing packages but runs version go1.%d of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.", runtimeVersion, lpkg.goVersion),